package com.zh.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.web.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dic_type")
@ApiModel("字典类型实体类")
public class SysDicType extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    @ApiModelProperty("字典类型id")
    private Long id;
    @ApiModelProperty("字典类型名称")
    private String dicName;
    @ApiModelProperty("字典类型编码")
    private String dicType;
    @ApiModelProperty("父级id")
    private Long pId;
    @ApiModelProperty("排序")
    private Integer dicSort;
}

